<!-- 任务详情 》 任务区域 -->

<template>
  <div>
    <MajorTitle :title="`${GETTER.type}${GETTER.target}列表`" />

    <ParamTab v-if="one.handleStatus !== 1" :param="one" class="marginBottom" @change="changeTab" />

    <WebTable :path="GETTER.path" auto>
      <RowIndex />
      <RowTree
        :label="`上级${CORE.MAP.REGION}`"
        bind="areaId, areaName"
        :dict="CORE.REGION.DICT"
        allName
        :minWidth="100"
      />
      <RowText :label="`${CORE.MAP.REGION}名称`" bind="assetName" />
      <RowStatus :label="`${GETTER.type}结果`" bind="resultStatus" width="auto" />
      <RowOperate v-bind="operateProps" />
    </WebTable>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import TaskDevice from '../TaskDevice'

// ============================== 导出组件 ============================== //

export default CORE.extend(TaskDevice, {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'TaskRegion',
})
</script>
